Optimal. Leaf size=69 \[ \frac{8 i a^2 \sec (c+d x)}{3 d \sqrt{a+i a \tan (c+d x)}}+\frac{2 i a \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{3 d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0643351, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 24, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.083, Rules used = {3494, 3493} \[ \frac{8 i a^2 \sec (c+d x)}{3 d \sqrt{a+i a \tan (c+d x)}}+\frac{2 i a \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3494
Rule 3493
Rubi steps
\begin{align*} \int \sec (c+d x) (a+i a \tan (c+d x))^{3/2} \, dx &=\frac{2 i a \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{3 d}+\frac{1}{3} (4 a) \int \sec (c+d x) \sqrt{a+i a \tan (c+d x)} \, dx\\ &=\frac{8 i a^2 \sec (c+d x)}{3 d \sqrt{a+i a \tan (c+d x)}}+\frac{2 i a \sec (c+d x) \sqrt{a+i a \tan (c+d x)}}{3 d}\\ \end{align*}
Mathematica [A] time = 0.24852, size = 57, normalized size = 0.83 \[ -\frac{2 a (\cos (c)-i \sin (c)) (\tan (c+d x)-5 i) (\cos (d x)-i \sin (d x)) \sqrt{a+i a \tan (c+d x)}}{3 d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.237, size = 71, normalized size = 1. \begin{align*}{\frac{2\,a \left ( 4\,i \left ( \cos \left ( dx+c \right ) \right ) ^{2}+4\,\cos \left ( dx+c \right ) \sin \left ( dx+c \right ) +i \right ) }{3\,d\cos \left ( dx+c \right ) }\sqrt{{\frac{a \left ( i\sin \left ( dx+c \right ) +\cos \left ( dx+c \right ) \right ) }{\cos \left ( dx+c \right ) }}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{3}{2}} \sec \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.30756, size = 194, normalized size = 2.81 \begin{align*} \frac{\sqrt{2}{\left (12 i \, a e^{\left (2 i \, d x + 2 i \, c\right )} + 8 i \, a\right )} \sqrt{\frac{a}{e^{\left (2 i \, d x + 2 i \, c\right )} + 1}} e^{\left (i \, d x + i \, c\right )}}{3 \,{\left (d e^{\left (3 i \, d x + 3 i \, c\right )} + d e^{\left (i \, d x + i \, c\right )}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (i \, a \tan \left (d x + c\right ) + a\right )}^{\frac{3}{2}} \sec \left (d x + c\right )\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]